package com.example.demo.dao.mapper;

import com.example.demo.dao.pojo.BlogInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BlogMapper {

    public List<BlogInfo> selectAll(int page, int pageSize);

    public BlogInfo selectById(int id);
}
